﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICeFramework.DataAccess.Enums;
using System.Data;
using ICeFramework.Common.DataLayer.Enums;

namespace ICeFramework.DataAccess.Interfaces
{
    public interface ISqlConnection
    {
        #region string ConnectionString
        /// <summary>
        /// Gets the ConnectionString of the ISqlConnection
        /// </summary>
        /// <value></value>
        string ConnectionString { get; }
        #endregion

        #region bool Connected
        /// <summary>
        /// Gets the Connected of the ISqlConnection
        /// </summary>
        /// <value></value>
        bool Connected { get; }
        #endregion

        #region ConnectionState State
        /// <summary>
        /// Gets the State of the ISqlConnection
        /// </summary>
        /// <value></value>
        ConnectionState State { get; }
        #endregion

        #region void Close()
        /// <summary>
        /// 
        /// </summary>
        void Close();
        #endregion

        #region ServerType ConnectionType
        /// <summary>
        /// Gets the ConnectionType of the ISqlConnection
        /// </summary>
        /// <value></value>
        ServerType ConnectionType { get; }
        #endregion

        #region string ServerName
        /// <summary>
        /// Gets/Sets the ServerName of the ISqlConnection
        /// </summary>
        /// <value></value>
        string ServerName { get; set; }
        #endregion

        #region string UserName
        /// <summary>
        /// Gets/Sets the UserName of the ISqlConnection
        /// </summary>
        /// <value></value>
        string UserName { get; set; }
        #endregion

        #region string Password
        /// <summary>
        /// Gets/Sets the Password of the ISqlConnection
        /// </summary>
        /// <value></value>
        string Password { get; set; }
        #endregion

        #region string Database
        /// <summary>
        /// Get/Sets the Database of the ISqlConnection
        /// </summary>
        /// <value></value>
        string Database { get; set; }
        #endregion


    }
}
